package com.boss.asset.dao;

import com.boss.framework.exception.AppRuntimeException;

import java.util.List;
import java.util.Map;

/**
 * Created by wangwei on 2019/8/23.
 */
public interface ITodoDao {

    /**
     * 查询系统代办信息
     *
     * @param config
     * @param userguid
     * @param province
     * @param year
     * @return
     */
    List<Map<String, Object>> getTaskInfoList(Map<String, Object> config, String userguid, String roleguid, String province, String year) throws AppRuntimeException;

    /**
     *  查询工作流代办信息
     * @param config
     * @param userguid
     * @param roleguid
     * @param menguid
     * @param province
     * @param year
     * @return
     */
    List<Map<String, Object>> getFlowTaskData(Map<String, Object> config, String userguid, String roleguid, String menguid, String province, String year) throws AppRuntimeException;

    List<Map<String, Object>> getFlowTaskData(List<String> bizkeys,Map<String, Object> config, String userguid, String roleguid, String menguid, String province, String year) throws AppRuntimeException;
}
